From: Isaku Yamahata Date: Wed, 22 Oct 2008 02:38:22 +0000 (+0900) Subject: [IA64] fix compilation error of xen/common/spinlock.c X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14067 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=ac9ad470ced62cfe7cbc9dd8a111666ab2a4de96;p=xen.git [IA64] fix compilation error of xen/common/spinlock.c This patch fixes the error in the x86 tree. > spinlock.c: In function _spin_lock_recursive: > spinlock.c:59: error: dereferencing pointer to incomplete type Signed-off-by: Isaku Yamahata --- diff --git a/xen/include/asm-ia64/linux-xen/asm/smp.h b/xen/include/asm-ia64/linux-xen/asm/smp.h index a8a143a54b..558702b200 100644 --- a/xen/include/asm-ia64/linux-xen/asm/smp.h +++ b/xen/include/asm-ia64/linux-xen/asm/smp.h @@ -47,6 +47,7 @@ ia64_get_lid (void) #define SMP_IPI_REDIRECTION (1 << 1) #ifdef XEN +#include #define raw_smp_processor_id() (current->processor) #else #define raw_smp_processor_id() (current_thread_info()->cpu)